From: Giovanni Campagna Date: Tue, 17 Mar 2015 20:06:51 +0000 (-0700) Subject: TelepathyClient: fix ackowledging chat messages X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1413 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=934ec3c3fe34ec5f13e5395c1d7a1da8356b1747;p=gnome-shell.git TelepathyClient: fix ackowledging chat messages ChatSource relies on the 'expanded' signal on the banner to ack messages, but no code ever emits that. https://bugzilla.gnome.org/show_bug.cgi?id=746364 --- diff --git a/js/ui/calendar.js b/js/ui/calendar.js index a79fd7e9f..38263e56e 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -1106,6 +1106,8 @@ const Message = new Lang.Class({ this._bodyStack.layout_manager.expansion = 1; this._actionBin.scale_y = 1; } + + this.emit('expanded'); }, unexpand: function(animate) { @@ -1128,6 +1130,8 @@ const Message = new Lang.Class({ this._actionBin.scale_y = 0; this.expanded = false; } + + this.emit('unexpanded'); }, canClose: function() {